<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
  <p v-if="isVisibel">看不见我1</p>
  <p v-show="isVisibel">看不见我2</p>
</div>
<script src="https://lf3-cdn-tos.bytecdntp.com/cdn/expire-1-M/vue/2.6.14/vue.js"></script>
<script>
  let v=new Vue({
    el:"div",
    data:{
      isVisible:true
    }
  })

</script>
</body>
</html>